package com.beifu.manager.shiro;

import java.io.Serializable;
import java.util.List;

import com.beifu.manager.model.Tree;

/**
 * 
* Title: ActiveUser
* Description:
* @author    BaiBing
* @date      2018年6月10日
 */
public class ActiveUser implements Serializable {
	
	private String userId;
	
	private String userName;
	
	private String loginName;
	
	private String organizeId; 
	
	private List<Tree> menus;
	
	private List<String> resources;
	
	private List<String> roles;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public List<String> getResources() {
		return resources;
	}

	public void setResources(List<String> resources) {
		this.resources = resources;
	}

	
	
	public List<String> getRoles() {
		return roles;
	}

	public void setRoles(List<String> roles) {
		this.roles = roles;
	}

	
	public List<Tree> getMenus() {
		return menus;
	}

	public void setMenus(List<Tree> menus) {
		this.menus = menus;
	}
	
	public String getOrganizeId() {
		return organizeId;
	}

	public void setOrganizeId(String organizeId) {
		this.organizeId = organizeId;
	}

	@Override
	public String toString() {
		return "ActiveUser [userId=" + userId + ", userName=" + userName
				+ ", loginName=" + loginName + ", organizeId=" + organizeId
				+ ", menus=" + menus + ", resources=" + resources + ", roles="
				+ roles + "]";
	}

}
